package com.schoolET.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;

/**
 * <p>
 * 商品分类
 * </p>
 *
 * @author lin
 * @since 2024-06-07
 */
@Getter
@Setter
@TableName("goods_and_type")
@ApiModel(value = "GoodsAndType对象", description = "商品分类")
public class GoodsAndType implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("商品id")
    private Integer goodsId;

    @ApiModelProperty("商品类型id")
    private Integer goodsTypeId;
}
